﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AZPEP_SysRi_Tool
{
    internal static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            try
            {
                Application.Run(new MainWindow());
            }
            catch (Exception e)
            {
                MyError.ShowError(ErrCode.ErrorCode.WHAT_THE_FXXK, "\n此错误发生在...程序初始化之前，\n或者...它是一个未被拦截的错误？", false, e);
                System.Environment.Exit(2);
            }
        }
    }
}
